<template>
	<div class="home-page">
		<div v-if="display">
			<TypeWritter class="title" finalStr="倩，这是我送给你的回忆相册！" :pauseIndex="2" />
		</div>
	</div>
</template>

<script>
import TypeWritter from "./TypeWritter.vue";

export default {
	components: {
		TypeWritter
	},
	props: {
		display: {
			type: Boolean,
			default: false
		}
	}
};
</script>

<style lang="scss">
.home-page {
	display: flex;
	justify-content: center;
	align-items: center;

	.title {
		font-size: 50px;
		font-weight: bold;
	}
}
</style>
